//
//  MyBankCardModel.m
//  MRBang
//
//  Created by 铅笔 on 16/5/13.
//  Copyright © 2016年 杭州易网新科技. All rights reserved.
//

#import "MyBankCardModel.h"

@implementation MyBankCardModel

- (void) decodeDic:(NSDictionary *)dic
{
    if (dic) {
        if (![[dic objectForKey:@"bankname"] isKindOfClass:[NSNull class]]) {
            self.bankname = [dic objectForKey:@"bankname"];
        }
        if (![[dic objectForKey:@"banknum"] isKindOfClass:[NSNull class]]) {
            self.banknum = [dic objectForKey:@"banknum"];
        }
        if (![[dic objectForKey:@"banknid"] isKindOfClass:[NSNull class]]) {
            self.banknid = [dic objectForKey:@"banknid"];
        }
    }
}

@end
